package com.affablebeans.model.entity;

import java.util.Date;

/**
 *
 * @author Bora SAYINER
 * @since Jan 25, 2015 6:11:12 PM
 * @version 1.0
 */
public class Order extends AbstractEntity {

	private double amount;
	private Date createdDate;
	private int confirmationNumber;
	private Customer customer;

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public int getConfirmationNumber() {
		return confirmationNumber;
	}

	public void setConfirmationNumber(int confirmationNumber) {
		this.confirmationNumber = confirmationNumber;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	@Override
	public String toString() {
		return "Order [amount=" + amount + ", createdDate=" + createdDate + ", confirmationNumber=" + confirmationNumber + ", customer=" + customer + "]";
	}

}
